<!doctype html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  <head>
    <base href="/">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Eureka</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">

    <link rel="stylesheet" href="eureka/css/wro.css">

  </head>

  <body id="one">
<nav class="navbar navbar-default" role="navigation">
  <div class="container">
    <div class="navbar-header">
      <a class="navbar-brand" href=""><span></span></a>
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
    </div>
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav navbar-right">
        <li>
          <a href="">Home</a>
        </li>
        <li>
          <a href="/lastn">Last 1000 since startup</a>
        </li>
      </ul>
    </div>
  </div>
</nav>


    <div class="container-fluid xd-container">
<h1>System Status</h1>
<div class="row">
  <div class="col-md-6">
    <table id='instances' class="table table-condensed table-striped table-hover">
            <tr>
        <td>Environment</td>
        <td>test</td>
      </tr>
      <tr>
        <td>Data center</td>
        <td>default</td>
      </tr>
    </table>
  </div>
  <div class="col-md-6">
    <table id='instances' class="table table-condensed table-striped table-hover">
      <tr>
        <td>Current time</td>
        <td>2017-07-04T18:03:39 +0800</td>
      </tr>
      <tr>
        <td>Uptime</td>
        <td>00:02</td>
      </tr>
      <tr>
        <td>Lease expiration enabled</td>
        <td>false</td>
      </tr>
      <tr>
        <td>Renews threshold</td>
        <td>3</td>
      </tr>
      <tr>
        <td>Renews (last min)</td>
        <td>1</td>
      </tr>
    </table>
  </div>
</div>


<h1>DS Replicas</h1>
<ul class="list-group">
</ul>

      <h1>Instances currently registered with Eureka</h1>
      <table id='instances' class="table table-striped table-hover">
        <thead>
          <tr><th>Application</th><th>AMIs</th><th>Availability Zones</th><th>Status</th></tr>
        </thead>
        <tbody>
              <tr>
                <td><b>CONFIG-SERVER</b></td>
                <td>
                    <b>n/a</b> (1)
                </td>
                <td>
                    <b></b> (1)
                </td>
                <td>
                    <b>UP</b> (1) -
                        <a href="http://config-server:7000/info" target="_blank">f481a641439f:config-server:7000</a>

                </td>
              </tr>

        </tbody>
      </table>

      <h1>General Info</h1>

      <table id='generalInfo' class="table table-striped table-hover">
        <thead>
          <tr><th>Name</th><th>Value</th></tr>
        </thead>
        <tbody>
            <tr>
              <td>total-avail-memory</td><td>363mb</td>
            </tr>
            <tr>
              <td>environment</td><td>test</td>
            </tr>
            <tr>
              <td>num-of-cpus</td><td>4</td>
            </tr>
            <tr>
              <td>current-memory-usage</td><td>79mb (21%)</td>
            </tr>
            <tr>
              <td>server-uptime</td><td>00:02</td>
            </tr>
            <tr>
              <td>registered-replicas</td><td></td>
            </tr>
            <tr>
              <td>unavailable-replicas</td><td></td>
            </tr>
            <tr>
              <td>available-replicas</td><td></td>
            </tr>
        </tbody>
      </table>

      <h1>Instance Info</h1>

      <table id='instanceInfo' class="table table-striped table-hover">
        <thead>
          <tr><th>Name</th><th>Value</th></tr>
        <thead>
        <tbody>
            <tr>
              <td>ipAddr</td><td>172.17.0.7</td>
            </tr>
            <tr>
              <td>status</td><td>UP</td>
            </tr>
        </tbody>
      </table>
    </div>
    <script type="text/javascript" src="eureka/js/wro.js" ></script>
    <script type="text/javascript">
       $(document).ready(function() {
         $('table.stripeable tr:odd').addClass('odd');
         $('table.stripeable tr:even').addClass('even');
       });
    </script>
  </body>
</html>
